home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / CDBL2CLN.HDR < prev    next >
Text File  |  1994-04-25  |  950b  |  36 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _CDBLtoCLN( cByteStr ) --> nDecimalNum
  8.  
  9. PARAMETERS:
  10.  
  11. cByteStr : Eight byte string to convert to decimal value.
  12.  
  13. SHORT:
  14.  
  15. Convert C Double to Clipper Numeric.
  16.  
  17. DESCRIPTION:
  18.  
  19. _CDBLtoCLN() converts a native eight byte "C" Double Precision Integer to
  20. it's equivalent Clipper NUMERIC.  It is used primarily for reading INTEGER
  21. and DECIMAL variables that have been stored in .MEM files.
  22.  
  23. The cByteStr must be obtained by way of a direct disk-read of bytes, or by
  24. way of a return value from a "C" function.
  25.  
  26. NOTE:
  27.  
  28. This function supports _MemToArray() in MEMARRAY.PRG  Refer to that
  29. function for usage examples.
  30.  
  31. EXAMPLE:
  32.  
  33.  
  34.  
  35. ******************************************************************************/
  36.